package com.wing.res.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.res.model.entity.ResWorkSite;
import com.wing.res.model.entity.ResWorkStation;
import com.wing.res.model.response.ResWorkSiteSearchVo;
import com.wing.res.model.response.ResWorkStationSearchVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @version 1.1.0
 * @Author hz
 * @Date 2024-09-23 20:57
 **/
@Mapper
public interface ResWorkSiteDao extends BaseMapper<ResWorkSite> {

    /**
     * 查询分页工位信息
     * @param pg 分页信息
     * @param map 其他参数
     * @return 返回的工位信息
     */
    List<ResWorkSiteSearchVo> pageList4app(@Param("page") Page<ResWorkSiteSearchVo> pg, @Param("map") Map<String, Object> map);
}
